package com.cp_smss.model;

import java.io.Serializable;

/**
 * 系统基础数据：用户
 * @author xuquan
 * 2012-6-7
 */
public class User implements Serializable {

	private static final long serialVersionUID = -2292226384889786318L;
	
	private int id;		// 主键
	private String email;	// 登录邮箱(作为账号)
	private String password;// 密码
	private String name;	// 姓名
	private int role;		// 角色id
	private int enable;		// 用户生效标志位
	private Department department;//所属部门
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public int getEnable() {
		return enable;
	}
	public void setEnable(int enable) {
		this.enable = enable;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	
}
